//
//  QNCPDevice.h
//  QNQNeviceModule_Example
//
//  Created by yolanda on 2025/6/9.
//  Copyright © 2025 刘观华. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreBluetooth/CoreBluetooth.h>
#import "QNCPDeviceEnum.h"

NS_ASSUME_NONNULL_BEGIN

@interface QNCPDevice : NSObject
/// 设备广播数据
@property (nonatomic, strong, nonnull) NSDictionary<NSString *,id> *advertisementData;
/// 蓝牙名称
@property (nonatomic, strong, nonnull) NSString *bluetoothName;
/// mac地址
@property (nonatomic, strong, nonnull) NSString *mac;
/// 信号强度
@property (nonatomic, strong, nonnull) NSNumber *RSSI;
/// 设备UUID
@property (nonatomic, strong) NSString *UUIDIdentifier;
/// 外设设备
@property (nonatomic, strong) CBPeripheral *peripheral;

/// 内部型号
@property (nonatomic, strong, nonnull) NSString *internalModel;
/** 总用户数据 */
@property (nonatomic, assign) NSUInteger allowMaxUserNum;
/** 已访问用户数 */
@property (nonatomic, assign) NSUInteger registerUserNum;

@property (nonatomic, assign) QNCPDeviceType  deviceType;

@end


@interface QNCPDevice(Addition)

@end


NS_ASSUME_NONNULL_END
